package com.sugar.real.estate.module.business.controller.app.userbuildingconsult.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "APP - 用户楼盘咨询新增 Request VO")
@Data
public class UserBuildingConsultSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20477")
    @NotNull(message = "唯一标识不能为空")
    private Long followId;

    @Schema(description = "咨询的类型（0公寓 1现房 2建房 3设计方案）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "类型不能为空")
    private Integer type;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "姓名不能为空")
    private String name;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "手机号不能为空")
    private String mobile;
}